<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<c:set var="index" value="/crm/potential.html"></c:set>
<div class="navbar navbar-default" id="navbar">
			<script type="text/javascript">
				try{ace.settings.check('navbar' , 'fixed')}catch(e){}
			</script>

			<div class="navbar-container" id="navbar-container">
				<div class="navbar-header pull-left">
					<a href="#" class="navbar-brand">
						<small>
							<i class="icon-leaf"></i>
							demo后台
						</small>
					</a>
				</div>

				<div class="navbar-header pull-left" role="navigation">
					<ul class="nav ace-nav">
						<li class="light-blue">
							<a data-toggle="dropdown" href="#" class="dropdown-toggle">
								<span class="user-info">
									<span>欢迎你,</span>
									<span>${session_operator.userName}</span>
								</span>

								<i class="icon-caret-down"></i>
							</a>

							<ul class="user-menu pull-right dropdown-menu dropdown-yellow dropdown-caret dropdown-close">
								<li>
									<a href="#">
										<i class="icon-cog"></i>
										设置
									</a>
								</li>

								<li>
									<a href="#">
										<i class="icon-user"></i>
										个人资料
									</a>
								</li>

								<li class="divider"></li>

								<li>
									<a href="/logout.html">
										<i class="icon-off"></i>
										退出
									</a>
								</li>
							</ul>
						</li>
					</ul>
				</div>
			</div>
		</div>

		<div class="main-container" id="main-container">
			<div class="main-container-inner">
				<a class="menu-toggler" id="menu-toggler" href="#">
					<span class="menu-text"></span>
				</a>

				<div class="sidebar" id="sidebar">

					<ul class="nav nav-list">
						<li class="open">
							<a href="${item.href }" class="dropdown-toggle">
								<i class="${item.iconCls }"></i>
								<span class="menu-text"> demo </span>
								<b class="arrow icon-angle-down"></b>
							</a>
							<ul class="submenu" style="<c:if test='${fn:contains(nid,item.nid) }'>display:block;</c:if>">
									<li class="active">
										<a href="/manage/template/page">
											<i class="${mitem.iconCls }"></i>
											模板
										</a>
									</li>
									<li class="active">
										<a href="/manage/webnews/page">
											<i class="${mitem.iconCls }"></i>
											新闻
										</a>
									</li>
							</ul>
						</li>
					</ul>

					<div class="sidebar-collapse" id="sidebar-collapse">
						<i class="icon-double-angle-left" data-icon1="icon-double-angle-left" data-icon2="icon-double-angle-right"></i>
					</div>

				</div>

				

				
			</div><!-- /.main-container-inner -->

			<a href="#" id="btn-scroll-up" class="btn-scroll-up btn btn-sm btn-inverse">
				<i class="icon-double-angle-up icon-only bigger-110"></i>
			</a>
		</div><!-- /.main-container -->

		<%--<script type="text/javascript">
			window.jQuery || document.write("<script src='../../../static/js/jquery-2.0.3.min.js'>"+"<"+"/script>");
		</script>--%>

		<!-- <![endif]-->

		<!--[if IE]>
			<script type="text/javascript">
			 window.jQuery || document.write("<script src='../../../static/js/jquery-1.10.2.min.js'>"+"<"+"/script>");
			</script>
		<![endif]-->

		<%--<script type="text/javascript">
			if("ontouchend" in document) document.write("<script src='../../../static/js/jquery.mobile.custom.min.js'>"+"<"+"/script>");
		</script>--%>
		<script type="text/javascript">
			$('.light-blue').click(function(){
				$(this).find('.dropdown-menu').toggle();
			});
		</script>

	</div>
